#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2025/10/4 9:57
# @Author  : summer
# @Email   : 610658552@qq.com
# @File    : common.py
# @Software: PyCharm
# @Desc    :
def strip_filter(value):
    """通用工具：去除字符串前后空格，避免空字符干扰查询"""
    if isinstance(value, str):
        return value.strip()
    return value